<?php
/**
 * Created by PhpStorm.
 * User: luojinyi
 * Date: 2017/12/28
 * Time: 下午4:58
 */

return [
    'sms'=>[
        // HTTP 请求的超时时间（秒）
        'timeout' => 5.0,
        //在缓存中的分钟数 超出自动删除
        'minutes' => 30 * 60,
        // 信息配置
        'errorlog' => [
            'file' => '/tmp/easy-sms.log',
        ],
        'channel'=> 'duanxinbao',
        'smsapi' => 'http://api.smsbao.com/sms',
        'accounts' => 'yhqhh',
        'password' => 'kuaixiang1991',
        'status' => [
            "0" => "短信发送成功",
            "-1" => "参数不全",
            "-2" => "服务器空间不支持,请确认支持curl或者fsocket，联系您的空间商解决或者更换空间！",
            "30" => "密码错误",
            "40" => "账号不存在",
            "41" => "余额不足",
            "42" => "帐户已过期",
            "43" => "IP地址限制",
            "50" => "内容含有敏感词"
        ]
    ],
    'ip_address'=>[
        'status' => [
            "200" => "请求成功",
            "4001" => "IP地址不能为空	",
            "40002" => "IP地址格式错误",
            "40003" => "%s为内网IP地址",
            "40004" => "IP地址信息不存在"
        ]
    ]
];
